,<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css" />
		<link rel="stylesheet" href="__STATIC__/home/css/admin.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/home/js/layui/layui.js"></script>
	</head>
	<body class="pd30" data-id="goodsDetails">
		<div class="center-nav f20">{$pageData.title}</div>
		<div class="center-tab b-w">
			<input type="hidden" id="gid" value="{$gid}" />
			<div class="goods-details clearfix">
				<div class="goodes-details-left">
					<div class="details-carousel">
						<ul>
							<li class="on"><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
						</ul>
						<ol class="clearfix">
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
							<li><img src="__STATIC__/home/images/xq-tu.png"></li>
						</ol>
					</div>
					
					
					<p class="rq-ll f-black">人气：共售出1斤              浏览26次</p>
				</div>
				<div class="goodes-details-right">
					
					<div class="bt f20 f-black" id="xqTitle">茶叶</div>
					<div class="xq">
						<p>价格：<span class="f20 f-orange" id="xqPrice">￥10,000.00</span></p>
						<p>积分抵扣：<span class="f-black" id="xqScore">1000</span></p>
						<p>币种：<span class="f-black" id="xqCoinName">积分</span></p>
						<div class="jy-zs">
							<p><span class="f-orange" id="xqSaleNum">1123</span><br>交易成功</p>
						</div>
						
					</div>
					<div class="yf">运费：<span class="f-black">免运费</span></div>
					<div class="xh-ys">
						<dl>
							<dt>颜色：</dt>
							<dd class="clearfix"><a href="#" class="akt">默认</a></dd>
						</dl>
						<dl>
							<dt>型号：</dt>
							<dd class="clearfix"><a href="#" class="akt">默认</a></dd>
						</dl>
					</div>
					<div class="sl">运费：<span class="jia-jian"><span class="jian f20">-</span><input type="number" id="cPnumber" value="1"><span class="jia f20">+</span></span> 件     库存：<span id="xqTotal">999999</span><span id="xqUnit"></span></div>
					<div class="goodes-anniu">
						<input type="button" value="立即购买" class="ljgm"/><input type="button" value="加入购物车" class="jrgwc" />
					</div>
				</div>
				
			</div>
			
			<div class="goods-attr">
				<div class="top-haed f-black">其他属性</div>
				<div class="goods-attr-center">
					<p>产品分类：<span id="xqCateName"></span></p>
					<p>更新时间：<span id="xqCreateTime"></span></p>
				</div>
			</div>
			<div class="goods-cen">
				<div class="top-haed f-black">发布内容</div>
				<div class="goods-cen-center" id="cqContent"></div>
			</div>
		</div>
		
		
		
		
		
		
		<!--<form action="{:url('cart.handle/addcart')}" method="post">
		<div class="center-tab b-w">

			<table class="table-cen" cellpadding="0" cellspacing="0">
				<tbody>

				</tbody>
			</table>
			<input type="hidden" id="gid" value="{$gid}" />
			<input type="submit" value="加入购物车" />
        </form>-->
		</div>
<!--<script type="text/javascript">
$(function(){
	getDatas();
});

function getDatas(){
	var gid = $("#gid").val();
	$.ajax({
		'type':'post',
		'dataType':'json',
		'data':{id:gid},
		'url':"{:url('goods.api/goodsDetails')}",
		'success':function(data){
			var html = '';
				html += '<tr>'+'<td><a href="{:url('goods.api/goodsDetails')}?id='+data.id+'"><div><img src="'+data.photo+'"/></div></a></td>'
                       +'<td><div>'+data.title+'</div></td>'
                       +'<td><div>描述:'+data.content+'</div></td>'
                       +'<td><div>重量:'+data.weight+'</div></td>'
                       +'<td><div>货币:'+data.coin_name+'</div></td>'
                       +'<input type="hidden" name="flag" value="0">'
                       +'<input type="hidden" name="gid" value='+data.id+'>'
                       +'<input type="hidden" name="price" value='+data.price+'>'
                       +'<input type="hidden" name="number" value="2">'
                       +'<td><div>单价:'+data.price+'/'+data.unit+'</div></td>'+'</tr>';
			$(".table-cen tbody").html(html);
			$(".paging").html(data.page_html)
		}
	})
}
</script>-->
<script>
	//商品详情
	var goodsDetails = "{:url('goods.api/goodsDetails')}";
	//加入购物车
	var addcartSrc="{:url('cart.handle/addcart')}";
</script>
<script type="text/javascript" src="__STATIC__/home/js/public.js"></script>
</body>
</html>